import { request } from "../request"
// 产品列表
export const productList = (data) => {
  return request({
    url: 'product/productList',
    method: 'POST',
    data
  })
}
// 产品列表添加
export const productListAdd = (data) => {
  return request({
    url: 'product/productListAdd',
    method: 'POST',
    data
  })
}
// 产品列表删除
export const productListDelete = (data) => {
  return request({
    url: 'product/productListDelete',
    method: 'POST',
    data
  })
}
// 产品列表修改按钮
export const productListChange = (data) => {
  return request({
    url: 'product/productListChange',
    method: 'POST',
    data
  })
}
// 产品列表修改顺序
export const productListChangeSort = (data) => {
  return request({
    url: 'product/productListChangeSort',
    method: 'POST',
    data
  })
}



// 产品背景图
export const productBakList = (data) => {
  return request({
    url: 'product/productBakList',
    method: 'POST',
    data
  })
}
// 产品背景图添加
export const productBakAdd = (data) => {
  return request({
    url: 'product/productBakAdd',
    method: 'POST',
    data
  })
}
// 产品背景图删除
export const productBakDelete = (data) => {
  return request({
    url: 'product/productBakDelete',
    method: 'POST',
    data
  })
}
// 产品背景图修改按钮
export const productBakChange = (data) => {
  return request({
    url: 'product/productBakChange',
    method: 'POST',
    data
  })
}
// 产品背景图修改顺序
export const productBakChangeSort = (data) => {
  return request({
    url: 'product/productBakChangeSort',
    method: 'POST',
    data
  })
}